FROM tongysh/jdk-8:v1.0
LABEL maintainer=tongysh

RUN mkdir -p /home/ruoyi-product
RUN mkdir -p /home/ruoyi-product/uploadPath
RUN mkdir -p /home/ruoyi-product/logs

COPY target/*.jar   /home/ruoyi-product/app.jar

WORKDIR /home/ruoyi-product

ENTRYPOINT ["java","-jar","/home/ruoyi-product/app.jar"]